import request from "@/utils/request";

enum Api {
  list = "/sys/dataLog/list",
  queryDataVerList = "/sys/dataLog/queryDataVerList",
  queryCompareList = "/sys/dataLog/queryCompareList",
}

/**
 * 查询数据日志列表
 * @param params
 */
export const getDataLogList = (params) => {
  return request({
    url: Api.list,
    method: "get",
    params,
  });
};

/**
 * 查询数据日志列表
 * @param params
 */
export const queryDataVerList = (params) => {
  return request({
    url: Api.queryDataVerList,
    method: "get",
    params,
  });
};

/**
 * 查询对比数据
 * @param params
 */
export const queryCompareList = (params) => {
  return request({
    url: Api.queryCompareList,
    method: "get",
    params,
  });
};
